SOQStrikeRangeUpdate
METADATA
Attribute | Value |
---|---|
Topic | 2750-market-data-options |
MLink Token | ClientLive |
Product | SRLive |
accessType | SELECT |
Table Definition
Field | Type | Key | Default Value | Comment |
---|---|---|---|---|
ticker_at | enum - AssetType | PRI | 'None' | Underlying symbol |
ticker_ts | enum - TickerSrc | PRI | 'None' | Underlying symbol |
ticker_tk | VARCHAR(12) | PRI | '' | Underlying symbol |
soqIdentifier | VARCHAR(20) | PRI | '' | SOQ dissemination symbol |
lowerStrikePrc | FLOAT | 0 | SOQ lower strike price | |
upperStrikePrc | FLOAT | 0 | SOQ upper strike price | |
srcTimestamp | BIGINT | 0 | exchange high precision timestamp if available | |
netTimestamp | BIGINT | 0 | inbound packet PTP timestamp from SR gateway switchusually syncronized with f | |
timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' |
PRIMARY KEY DEFINITION (Unique)
Field | Sequence |
---|---|
ticker_tk | 1 |
ticker_at | 2 |
ticker_ts | 3 |
soqIdentifier | 4 |
CREATE TABLE EXAMPLE QUERY
CREATE TABLE `SRLive`.`MsgSOQStrikeRangeUpdate` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'Underlying symbol',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'Underlying symbol',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Underlying symbol',
`soqIdentifier` VARCHAR(20) NOT NULL DEFAULT '' COMMENT 'SOQ dissemination symbol',
`lowerStrikePrc` FLOAT NOT NULL DEFAULT 0 COMMENT 'SOQ lower strike price',
`upperStrikePrc` FLOAT NOT NULL DEFAULT 0 COMMENT 'SOQ upper strike price',
`srcTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch;usually syncronized with f',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`,`soqIdentifier`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';
SELECT TABLE EXAMPLE QUERY
SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`soqIdentifier`,
`lowerStrikePrc`,
`upperStrikePrc`,
`srcTimestamp`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgSOQStrikeRangeUpdate`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a VARCHAR(20) */
`soqIdentifier` = 'Example_soqIdentifier';
Doc Columns Query
SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='SOQStrikeRangeUpdate' ORDER BY ordinal_position ASC;